package cn.sherer.beans.douyin;

import java.util.List;
import java.util.ArrayList;
import java.io.Serializable;

/**
 * 抖音订阅消息模板
 */
public class DySubscribeTemplate implements Serializable {
    private String msg_id;
    private int template_id;
    private int classification;
    private String title;
    private List<String> keyword_list;
    private String category_name;
    private List<String> host_list;

    public DySubscribeTemplate() {
    }

    public DySubscribeTemplate(String msg_id, int template_id, int classification, String title, List<String> keyword_list, String category_name, List<String> host_list) {
        this.msg_id = msg_id;
        this.template_id = template_id;
        this.classification = classification;
        this.title = title;
        this.keyword_list = keyword_list;
        this.category_name = category_name;
        this.host_list = host_list;
    }

    public String getMsg_id() {
        return msg_id;
    }

    public void setMsg_id(String msg_id) {
        this.msg_id = msg_id;
    }

    public int getTemplate_id() {
        return template_id;
    }

    public void setTemplate_id(int template_id) {
        this.template_id = template_id;
    }

    public int getClassification() {
        return classification;
    }

    public void setClassification(int classification) {
        this.classification = classification;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public List<String> getKeyword_list() {
        return keyword_list == null ? new ArrayList<>() : keyword_list;
    }

    public void setKeyword_list(List<String> keyword_list) {
        this.keyword_list = keyword_list;
    }

    public String getCategory_name() {
        return category_name;
    }

    public void setCategory_name(String category_name) {
        this.category_name = category_name;
    }

    public List<String> getHost_list() {
        return host_list == null ? new ArrayList<>() : host_list;
    }

    public void setHost_list(List<String> host_list) {
        this.host_list = host_list;
    }

    @Override
    public String toString() {
        return "DySubscribeTemplate{" + "msg_id=" + msg_id + ", template_id=" + template_id + ", classification=" + classification + ", title=" + title + ", keyword_list=" + keyword_list.toString() + ", category_name=" + category_name + ", host_list=" + host_list.toString() + "}";
    }
}
